Optimal. Leaf size=118 \[ -\frac {11}{16} \sqrt {1-x} \sqrt {1+x}-\frac {11}{48} \sqrt {1-x} (1+x)^{3/2}-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{16} \sin ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {102, 158, 152,
52, 41, 222} \begin {gather*} \frac {11 \text {ArcSin}(x)}{16}-\frac {1}{6} \sqrt {1-x} (x+1)^{5/2} x^3-\frac {1}{15} \sqrt {1-x} (x+1)^{5/2} x^2-\frac {11}{48} \sqrt {1-x} (x+1)^{3/2}-\frac {1}{120} \sqrt {1-x} (x+1)^{5/2} (19 x+18)-\frac {11}{16} \sqrt {1-x} \sqrt {x+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 41
Rule 52
Rule 102
Rule 152
Rule 158
Rule 222
Rubi steps
\begin {align*} \int \frac {x^4 (1+x)^{3/2}}{\sqrt {1-x}} \, dx &=-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{6} \int \frac {(-3-2 x) x^2 (1+x)^{3/2}}{\sqrt {1-x}} \, dx\\ &=-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}+\frac {1}{30} \int \frac {x (1+x)^{3/2} (4+19 x)}{\sqrt {1-x}} \, dx\\ &=-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{24} \int \frac {(1+x)^{3/2}}{\sqrt {1-x}} \, dx\\ &=-\frac {11}{48} \sqrt {1-x} (1+x)^{3/2}-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{16} \int \frac {\sqrt {1+x}}{\sqrt {1-x}} \, dx\\ &=-\frac {11}{16} \sqrt {1-x} \sqrt {1+x}-\frac {11}{48} \sqrt {1-x} (1+x)^{3/2}-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{16} \int \frac {1}{\sqrt {1-x} \sqrt {1+x}} \, dx\\ &=-\frac {11}{16} \sqrt {1-x} \sqrt {1+x}-\frac {11}{48} \sqrt {1-x} (1+x)^{3/2}-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{16} \int \frac {1}{\sqrt {1-x^2}} \, dx\\ &=-\frac {11}{16} \sqrt {1-x} \sqrt {1+x}-\frac {11}{48} \sqrt {1-x} (1+x)^{3/2}-\frac {1}{15} \sqrt {1-x} x^2 (1+x)^{5/2}-\frac {1}{6} \sqrt {1-x} x^3 (1+x)^{5/2}-\frac {1}{120} \sqrt {1-x} (1+x)^{5/2} (18+19 x)+\frac {11}{16} \sin ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 73, normalized size = 0.62 \begin {gather*} -\frac {\sqrt {1-x} \left (256+421 x+293 x^2+238 x^3+206 x^4+136 x^5+40 x^6\right )}{240 \sqrt {1+x}}-\frac {11}{8} \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 108, normalized size = 0.92
method | result | size |
risch | \(\frac {\left (40 x^{5}+96 x^{4}+110 x^{3}+128 x^{2}+165 x +256\right ) \sqrt {1+x}\, \left (-1+x \right ) \sqrt {\left (1+x \right ) \left (1-x \right )}}{240 \sqrt {-\left (1+x \right ) \left (-1+x \right )}\, \sqrt {1-x}}+\frac {11 \arcsin \left (x \right ) \sqrt {\left (1+x \right ) \left (1-x \right )}}{16 \sqrt {1-x}\, \sqrt {1+x}}\) | \(92\) |
default | \(\frac {\sqrt {1+x}\, \sqrt {1-x}\, \left (-40 x^{5} \sqrt {-x^{2}+1}-96 x^{4} \sqrt {-x^{2}+1}-110 x^{3} \sqrt {-x^{2}+1}-128 x^{2} \sqrt {-x^{2}+1}-165 x \sqrt {-x^{2}+1}+165 \arcsin \left (x \right )-256 \sqrt {-x^{2}+1}\right )}{240 \sqrt {-x^{2}+1}}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 84, normalized size = 0.71 \begin {gather*} -\frac {1}{6} \, \sqrt {-x^{2} + 1} x^{5} - \frac {2}{5} \, \sqrt {-x^{2} + 1} x^{4} - \frac {11}{24} \, \sqrt {-x^{2} + 1} x^{3} - \frac {8}{15} \, \sqrt {-x^{2} + 1} x^{2} - \frac {11}{16} \, \sqrt {-x^{2} + 1} x - \frac {16}{15} \, \sqrt {-x^{2} + 1} + \frac {11}{16} \, \arcsin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.09, size = 62, normalized size = 0.53 \begin {gather*} -\frac {1}{240} \, {\left (40 \, x^{5} + 96 \, x^{4} + 110 \, x^{3} + 128 \, x^{2} + 165 \, x + 256\right )} \sqrt {x + 1} \sqrt {-x + 1} - \frac {11}{8} \, \arctan \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 212.28, size = 598, normalized size = 5.07 \begin {gather*} 2 \left (\begin {cases} - \frac {x \sqrt {1 - x} \sqrt {x + 1}}{4} - \sqrt {1 - x} \sqrt {x + 1} + \frac {3 \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {x + 1}}{2} \right )}}{2} & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) - 8 \left (\begin {cases} - \frac {3 x \sqrt {1 - x} \sqrt {x + 1}}{4} + \frac {\left (1 - x\right )^{\frac {3}{2}} \left (x + 1\right )^{\frac {3}{2}}}{6} - 2 \sqrt {1 - x} \sqrt {x + 1} + \frac {5 \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {x + 1}}{2} \right )}}{2} & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) + 12 \left (\begin {cases} - \frac {7 x \sqrt {1 - x} \sqrt {x + 1}}{4} + \frac {2 \left (1 - x\right )^{\frac {3}{2}} \left (x + 1\right )^{\frac {3}{2}}}{3} + \frac {\sqrt {1 - x} \sqrt {x + 1} \left (- 5 x - 2 \left (x + 1\right )^{3} + 6 \left (x + 1\right )^{2} - 4\right )}{16} - 4 \sqrt {1 - x} \sqrt {x + 1} + \frac {35 \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {x + 1}}{2} \right )}}{8} & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) - 8 \left (\begin {cases} - \frac {15 x \sqrt {1 - x} \sqrt {x + 1}}{4} - \frac {\left (1 - x\right )^{\frac {5}{2}} \left (x + 1\right )^{\frac {5}{2}}}{10} + 2 \left (1 - x\right )^{\frac {3}{2}} \left (x + 1\right )^{\frac {3}{2}} + \frac {5 \sqrt {1 - x} \sqrt {x + 1} \left (- 5 x - 2 \left (x + 1\right )^{3} + 6 \left (x + 1\right )^{2} - 4\right )}{16} - 8 \sqrt {1 - x} \sqrt {x + 1} + \frac {63 \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {x + 1}}{2} \right )}}{8} & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) + 2 \left (\begin {cases} \frac {x^{3} \left (1 - x\right )^{\frac {3}{2}} \left (x + 1\right )^{\frac {3}{2}}}{12} - \frac {31 x \sqrt {1 - x} \sqrt {x + 1}}{4} - \frac {3 \left (1 - x\right )^{\frac {5}{2}} \left (x + 1\right )^{\frac {5}{2}}}{5} + \frac {16 \left (1 - x\right )^{\frac {3}{2}} \left (x + 1\right )^{\frac {3}{2}}}{3} + \frac {33 \sqrt {1 - x} \sqrt {x + 1} \left (- 5 x - 2 \left (x + 1\right )^{3} + 6 \left (x + 1\right )^{2} - 4\right )}{32} - 16 \sqrt {1 - x} \sqrt {x + 1} + \frac {231 \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {x + 1}}{2} \right )}}{16} & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.14, size = 59, normalized size = 0.50 \begin {gather*} -\frac {1}{240} \, {\left ({\left (2 \, {\left ({\left (4 \, {\left (5 \, x - 8\right )} {\left (x + 1\right )} + 63\right )} {\left (x + 1\right )} - 13\right )} {\left (x + 1\right )} + 55\right )} {\left (x + 1\right )} + 165\right )} \sqrt {x + 1} \sqrt {-x + 1} + \frac {11}{8} \, \arcsin \left (\frac {1}{2} \, \sqrt {2} \sqrt {x + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4\,{\left (x+1\right )}^{3/2}}{\sqrt {1-x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________